#if !defined(AFX_SETMESUREMENT_H__1B8F14E4_D694_463A_A144_5D7C750D303A__INCLUDED_)
#define AFX_SETMESUREMENT_H__1B8F14E4_D694_463A_A144_5D7C750D303A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "MainFrm.h"

// SetMesurement.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSetMesurement dialog

class CSetMesurement : public CDialog
{
// Construction 
public:
	byte m_iMesureMode;
	bool m_bFactorUpdated;
	dPoint m_dpConversationFactor;
	CSetMesurement(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSetMesurement)
	enum { IDD = IDD_MESURMENTS };
	double	m_dMesurments_MM_X;
	double	m_dMesurments_Pixel_X;
	BOOL	m_bMesureMM;
	double	m_dMesurments_MM_Y;
	double	m_dMesurments_Pixel_Y;
	double	m_dMesurments_Angle;
	POINT	m_dMesurments_RefLinePoints[2];
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSetMesurement)
	public:
	virtual int DoModal();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSetMesurement)
	afx_msg void OnMesurmentsBtn_X();
	virtual void OnOK();
	afx_msg void OnChangeMesurmentsEditPixels();
	virtual BOOL OnInitDialog();
	afx_msg void OnMesurmentsBtn_Y();
	afx_msg void OnMesurmentsBtn_Angle();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SETMESUREMENT_H__1B8F14E4_D694_463A_A144_5D7C750D303A__INCLUDED_)
